<template>
    <Card>
        <Row>
            <Tabs @on-click="changeTab"  :value="tabName" type="card" :animated="false">
                <TabPane icon="ios-at" name="index-not-online-banking"  label="非网银收款">
                    <revokeHandle ref="revokeHandle"  @changeTab="changeTab" :sourceType="['wechatRepayment','bankDeduct']"  ></revokeHandle>
                </TabPane>
           <!--     <TabPane icon="ios-at" name="index-online_banking"  label="网银收款">
                    <revokeHandle ref="revokeHandle=" :sourceType="['transferAccounts']" ></revokeHandle>
                </TabPane>-->
            </Tabs>
        </Row>
    </Card>
</template>
<script>
import revokeHandle from './revoke-contact-list/revokeHandle'

export default {
    components:{
        revokeHandle:revokeHandle,
    },
    data(){
        return {
            tabName:'index-not-online-banking'
        }
    },
    methods:{
        changeTab(name){
            this.tabName = name;
            if(name==='index-not-online-banking'){
                this.$refs['revokeHandle'].getRevokeHandle();
            }
        }
    }
}
</script>
